# -*- coding = utf-8 -*-
# @TIME:2024/10/25 11:10
# @Author:月的第一话
# @File:demo3.py
# @Software:PyCharm
class Animal:
    name='animal'
class Dog(Animal):
    name='dog'
    def show(self):
        print('dog~~~~~~~~')
dog=Dog()
print(dog.name)
dog.show()